<?php
    global $aCJs;
    $aJs = array(
        assest('js/jquery.min.js'),
        assest('js/classie.js'),
        assest('js/modernizr.custom.js'),
        assest('js/jquery.mixitup.min.js'),
        assest('js/uisearch.js')
    );
    $aJs = array_merge($aJs, $aCJs);
    $aJs[] = assest('js/script.js');
?>
<?php foreach($aJs as $js) { ?><script type="text/javascript" src="<?php echo $js; ?>"></script><?php } ?>
<script type="text/javascript">new UISearch(document.getElementById('sb-search'));</script>